package com.example.edu_service.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author LUOXIN
 * @create 2021-09-17 13:10
 */
@Component
@FeignClient("service-order")
public interface OrderClient {

    @GetMapping("/edu_order/order/IsPay/{courseId}/{memberId}")
    public boolean IsPay(@PathVariable("courseId") String courseId , @PathVariable("memberId") String memberId);
}
